﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pitis_Cristian_E214A
{
abstract  class masina:abstractProduct
    {
        private string nume;
        private string culoare;
        private string transmisie;

        public void set_nume(string n)
        {
            nume = n;
        }

        public void set_culoare(string c)
        {
            culoare = c;
        }
        public void set_transmisie(string t)
        {
            transmisie = t;
        }


   


    
    public string get_nume()
        {
            return nume;
        }
     
  
    
    public string get_culoare()
        {
            return culoare;
        }

       
    
    
    public string get_transmisie()
        {
            return transmisie;
        }

    public  virtual void afisare_inf() { }
    public  virtual void set_dotari(string s) { }
    public  virtual void set_motorizare(string s) { }
    public  virtual void set_dimensiuni(int d) { }

    }
}
